//
// Created by rengen.gong on 2021/12/2.
//

#ifndef LEARN1_MYAPPLICATION_H
#define LEARN1_MYAPPLICATION_H

#include "iostream"

using namespace std;

class MyApplication {

public:
    static void f();

    static void g();

private:
    static int global;

};

int MyApplication::global = 0;

void MyApplication::f() {
    global = 5
}

void MyApplication::g() {
    cout << global << endl;
}


#endif //LEARN1_MYAPPLICATION_H
